from ronglian_sms_sdk import SmsSDK

accId = '2c94811c936de29c01937051b0210022'
accToken = '80695a18ca534512abb56dc075415f7f'
appId = '2c94811c936de29c01937064928800a5'


def send_message(phone, code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = phone
    datas = (code,)
    resp = sdk.sendMessage(tid, mobile, datas)


